package com.springboot.mybatis.mapper;

import com.springboot.mybatis.entity.Student;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface StudentMapper {
    //嵌套结果映射
    List<Student> selectAllStudents();
    //嵌套Select查询
    List<Student> selectAllStudents2();
}